/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dao;
import java.util.List;
import myUtils.page.Result;
import po.Mail;
/**
 *
 * @author sony
 */
public interface MailDao {

    public Result getReceiveMails(int id,int page);

    public Result getSendBox(int id, int page);

    void updateMail(Mail mail);
    void save(Mail mail) throws Exception;
    Mail getMail(int mailId);
    void deleteMail(int mailId) throws Exception;
}
